home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9471 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.0 KB  |  47 lines

  1. Path: master.sapien.net!news
  2. From: jeffcobb@sapien.net (Jeff Cobb)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: CodeGuard / Error Detection Tools
  5. Date: Fri, 01 Mar 1996 23:24:21 GMT
  6. Organization: j%nki~wÇZ8L-BFGD44CT-1EA6BC82
  7. Message-ID: <313785a9.25310602@news.sapien.net>
  8. References: <4h2p0k$6lo@orion.supernet.ab.ca>
  9. NNTP-Posting-Host: ts008.sapien.net
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. silva@supernet.ab.ca (Kevin Berger) wrote:
  13.  
  14. >We're considering some form of error detection for our Borland C++ (4.51) compiler.
  15. >Basically, we use the compiler to write DLL's, so our choices appear to be CodeGuard, 
  16. >BoundsChecker, and MemCheck. It's hard to find any comparisons between them, 
  17. >so we'd appreciate some feedback from other users who have tried any of these, especially CodeGuard.
  18. >Our criteria has been:
  19. >    can it be used in a DLL?
  20. >    can it locate the source line?
  21. >    can it handle 16-bit code (we're not in Windows 95, yet)?
  22. >    can it work with other c++ source code (we're using CodeBase from Sequiter)?
  23. >    can it work with all the Borland workbench products?
  24. >Any hints/suggestions will also help.
  25.  
  26. We use (for now) Bounds Checker.  I code a lot of DLLs and Bounds
  27. Checker seems to be able to find a lot of errors, but you must use it
  28. in a special way to avoid it being confused by things like the string
  29. class that Borland supplies with 4.51 (specifically, the += operator
  30. makes Bounds Checker think it is a memory leak of either 12 or 64
  31. bytes).  We too use Codebase 5.x and Bounds Checker has pinpointed GPF
  32. trubs in Sequiters code.  The trick with Bounds Checker is to become
  33. VERY educated on its use and to keep up-to-date with NuMega for bug
  34. fixes.
  35.  
  36. We have tried using CodeGuard at work with mixed results.  When it
  37. works, it works well...and when it doesn't it will GPF your program,
  38. claiming that things in OWL are badly coded...go figure.
  39.  
  40. On the brighter side, the news is that Bounds Checker's newest version
  41. will contain Parasoft Insure++ so this will be something to watch for.
  42.  
  43. Hope this helps
  44.  
  45. jeffcobb@sapien.net
  46.  
  47.